package lab02;

import static junit.framework.Assert.*;
import junit.framework.TestCase;
import org.junit.Test;
/**
 * Created by 其 on 2016/4/17.
 */
public class MyUtilTest extends TestCase{
    @Test
    public void testNormal() {
        assertEquals("不及格", MyUtil.percentage2fivegrade(55));
        assertEquals("及格", MyUtil.percentage2fivegrade(65));
        assertEquals("中等", MyUtil.percentage2fivegrade(75));
        assertEquals("良好", MyUtil.percentage2fivegrade(85));
        assertEquals("优秀", MyUtil.percentage2fivegrade(95));
    }
}